import Vue from 'vue'
import App from './App.vue'
import './assets/css/base.scss'
import router from './router/index.js'
import store from './store'
import ElementUI from 'element-ui';
import {HttpGet,HttpPost} from './plugin/requie';
import {notifySuccess,notifyError,getImg,isNumber} from './plugin/public';

import 'element-ui/lib/theme-chalk/index.css';




Vue.prototype.$HttpGet = HttpGet;
Vue.prototype.$HttpPost = HttpPost;
Vue.prototype.$notifySuccess = notifySuccess;
Vue.prototype.$notifyError = notifyError;
Vue.prototype.$getImg = getImg;
Vue.prototype.$isNumber = isNumber;


Vue.config.productionTip = false;
Vue.use(ElementUI);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
